<?php
if (!defined("_INDEX")) { header("Location: /"); die; }

switch ($route->getAction()) {

	case "find_city": require_once AJAX.DS."find_city.php"; break;
	case "find_insurer": require_once AJAX.DS."find_insurer.php"; break;
	
	case "getcityname": require_once AJAX.DS."getcityname.php"; break;
	case "getcitycompanies": require_once AJAX.DS."getcitycompanies.php"; break;
	case "getcitybrokers": require_once AJAX.DS."getcitybrokers.php"; break;
	case "getcinf": require_once AJAX.DS."getcinf.php"; break;
	case "like": require_once AJAX.DS."like.php"; break;
	
	case "headofficedata": require_once AJAX.DS."headofficedata.php"; break;
	
	case "error_report": require_once AJAX.DS."error_report.php"; break;

	case "monitoring": require_once AJAX.DS."monitoring.php"; break;

	default: header("Location: /"); die;	
}

?>